<template>
  <el-dropdown-item v-bind="$attrs" v-on="$listeners" v-if="display">
    <slot></slot>
  </el-dropdown-item>
</template>

<script>
export default {
  props: {
    name: {
      type: String,
      default: "",
    },
  },
  computed: {
    display() {
      /* if (!this.name) return true;
      let operations = this.$store.getters.getOperations;
      return operations.includes(this.name); */
      return true;
    },
  },
};
</script>

<style>
</style>